#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QSystemTrayIcon>
#include <QtGui>
#include <QtCore>

namespace Ui
{
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    void        createActions();
    void        updateGameList();
    void        createTrayIcon();

    QAction *minimizeAction;
    QAction *maximizeAction;
    QAction *restoreAction;
    QAction *quitAction;

    QSystemTrayIcon *trayIcon;
    QMenu *trayIconMenu;

    QStringList gameNames;

private slots:
    void on_pushButton_4_clicked();
    void on_actionPreferences_triggered();
    void on_actionSystem_profiles_triggered();
    void on_actionAdd_games_triggered();
    void on_btnDeleteGame_clicked();
    void on_btnAddGame_clicked();
    void iconActivated(QSystemTrayIcon::ActivationReason reason);
};

#endif // MAINWINDOW_H
